from DrissionPage import ChromiumPage

url = 'https://www.zhipin.com/web/geek/jobs?query=&city=101281600&position=100101'
dp = ChromiumPage()
dp.listen.start('/joblist.json')
dp.get(url)
r = dp.listen.wait()
res = r.response.body
print(res)
zjs = res['zpData']['jobList']
for zj in zjs:
    # 地址： zpData.jobInfo.address
    cityName = zj['cityName']
    print(cityName)
    #     # 岗位：zpData.jobInfo.jobName
    jobName = zj['jobName']
    print(jobName)
        # 学历：zpData.jobInfo.degreeName
    jobDegree = zj['jobDegree']
    print(jobDegree)
    # 薪资：zpData.jobInfo.salaryDesc
    salaryDesc = zj['salaryDesc']
    print(salaryDesc)
    # 技术：zpData.jobInfo.showSkills
    skills = zj['skills']
    print(skills)




